package typeCheck;

public class MapType extends Type {

    private final Type keyType;
    private final Type valueType;
    public MapType(String name, Type keyType, Type valueType) {
        super(name, TypeEnum.MAP);
        this.keyType = keyType;
        this.valueType = valueType;
    }

    public Type getKeyType() {
        return this.keyType;
    }

    public Type getValueType() {
        return this.valueType;
    }
}
